import request from '@/utils/request'

export function runSql(data) {
  return request({
    url: '/system/sql/run',
    method: 'post',
    data: data
  })
}

export function stopSql(data) {
  return request({
    url: '/system/sql/stop',
    method: 'post',
    data: data
  })
}
export function listDataSource(data) {
  return request({
    url: '/system/metadata/source/getSourceList',
    method: 'get'
  })
}
